﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace EximDemo.Common
{
    public class CommonUtils
    {
        public static string CSVFieldFormat(string data, char wrapChar = '"')
        {
            return string.Format(@wrapChar + "{0}" + @wrapChar, data.Replace("\"", "\"\""));
        }
    }
}